package com.tukez.tmdb.model
import org.joda.time.LocalDate
import org.joda.time.DateTime

case class Person(score: Option[Int],
                  popularity: Int,
                  name: String,
                  id: Long,
                  biography: String,
                  url: String,
                  profile: List[Image],
                  version: Long,
                  last_modified_at: DateTime,
                  details: Option[PersonDetails])

case class PersonDetails(known_as: List[String],
                         known_movies: Int,
                         birthday: LocalDate,
                         birthplace: String,
                         filmography: List[FilmographyMovie])

case class FilmographyMovie(name: String,
                            id: Long,
                            job: String,
                            department: String,
                            character: String,
                            cast_id: Long,
                            url: String,
                            poster: String,
                            adult: Boolean,
                            release: LocalDate)